<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
request.setCharacterEncoding("utf-8");
String name = (String)session.getAttribute("name");
String yz = (String)session.getAttribute("lsyz");
System.out.println("neyzwpwd:"+name+"--"+yz);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>找回密码--设置新密码</title>
<meta name="Keywords" content="网站关键词">
<meta name="Description" content="网站介绍">
<link rel="stylesheet" href="../css/base.css">
<link rel="stylesheet" href="../css/iconfont.css">
<link rel="stylesheet" href="../css/reg.css">
<script type="text/javascript">
function pd(){
	var pwd=document.getElementById("pwd").value;
	var pwd1=document.getElementById("pwd1").value;
	if(pwd!=pwd1){
		alert("两次密码不一致!!!");
		return false;
	}
	return true;
}
</script>


</head>
<body>
<div id="ajax-hook">
</div>
<div class="wrap">
	<img src="../images/background.5f3d18b4.png" class="register-image-background" width="100%" height="100%">
	<div class="wpn">
		<form action="/examproject/no/stupdate" method="post" onsubmit="return pd(this)" id="myfo">
		<div class="form-data find_password">
			<h4>找回密码--设置密码</h4>
			<p class="right_now">
				已有账号，<a href="/examproject/nologin/LogInTo.jsp">马上登录</a>
			</p>
			<p class="p-input pos">
				<label  style="">新密码</label>
				<input type="password"  onchange="text()" id="pwd" name="pwd">
			</p>
			<p class="p-input pos">
				<label  style="">请再次输入新密码</label>
				<input type="password" id="pwd1" name="pwd1">
			</p>
			<input type="hidden" value="<%=name %>" name="name" />
			<button class="lang-btn next">完成</button>
			<p class="right">
				@2021九云
			</p>
		</div>
		</form>
	</div>
</div>
<script src="../js/jquery.js"></script>
<script src="../js/agree.js"></script>
<script src=""></script>
<script>
	function text() {
		var a="<%=yz%>";
		if (a=="lsyz"){
			var myfo=document.getElementById("myfo");
			myfo.action="/examproject/no/supdate";
		}else{
			var myfo=document.getElementById("myfo");
			myfo.action="/examproject/no/stupdate";
		}
	}
</script>

</body>
</html>